package cn.xfdzx.android.apps.shop.bean;

import java.util.List;

/**
 * @author zf
 * @date 2020/8/17 0015
 * description：
 */
public class GoodsMiaoSBean {


    /**
     * status : 200
     * data : {"start_time":"04:00:00","end_time":"18:00:00","service_time":"10:52:36","goods":[{"original_price":"1.40","concessional_price":"0.01","good_title":"洋葱","image":"https://app-oss.xfdzx.cn/images/6/2020/07/oRL6OtA77tnle266r62o92uNe9u6zn.png","good_id":65,"sales_volume":500,"stock":1000,"start_time":"2020-08-10 00:00:00","end_time":"2020-08-27 00:00:00","created_at":"2020-08-25 10:49:47"}]}
     * msg : 获取成功
     */

    private int status;
    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * start_time : 04:00:00
         * end_time : 18:00:00
         * service_time : 10:52:36
         * goods : [{"original_price":"1.40","concessional_price":"0.01","good_title":"洋葱","image":"https://app-oss.xfdzx.cn/images/6/2020/07/oRL6OtA77tnle266r62o92uNe9u6zn.png","good_id":65,"sales_volume":500,"stock":1000,"start_time":"2020-08-10 00:00:00","end_time":"2020-08-27 00:00:00","created_at":"2020-08-25 10:49:47"}]
         */

        private long start_time;
        private long end_time;
        private long service_time;
        private List<GoodsBean> goods;
        private int stock;// : 1000, 库存

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public long getStart_time() {
            return start_time;
        }

        public void setStart_time(long start_time) {
            this.start_time = start_time;
        }

        public long getEnd_time() {
            return end_time;
        }

        public void setEnd_time(long end_time) {
            this.end_time = end_time;
        }

        public long getService_time() {
            return service_time;
        }

        public void setService_time(long service_time) {
            this.service_time = service_time;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * original_price : 1.40
             * concessional_price : 0.01
             * good_title : 洋葱
             * image : https://app-oss.xfdzx.cn/images/6/2020/07/oRL6OtA77tnle266r62o92uNe9u6zn.png
             * good_id : 65
             * sales_volume : 500
             * stock : 1000
             * start_time : 2020-08-10 00:00:00
             * end_time : 2020-08-27 00:00:00
             * created_at : 2020-08-25 10:49:47
             */

            private String original_price;
            private String concessional_price;
            private String good_title;
            private String image;
            private int good_id;
            private int sales_volume;
            private int stock;
            private String start_time;
            private String end_time;
            private String created_at;

            public String getOriginal_price() {
                return original_price;
            }

            public void setOriginal_price(String original_price) {
                this.original_price = original_price;
            }

            public String getConcessional_price() {
                return concessional_price;
            }

            public void setConcessional_price(String concessional_price) {
                this.concessional_price = concessional_price;
            }

            public String getGood_title() {
                return good_title;
            }

            public void setGood_title(String good_title) {
                this.good_title = good_title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getGood_id() {
                return good_id;
            }

            public void setGood_id(int good_id) {
                this.good_id = good_id;
            }

            public int getSales_volume() {
                return sales_volume;
            }

            public void setSales_volume(int sales_volume) {
                this.sales_volume = sales_volume;
            }

            public int getStock() {
                return stock;
            }

            public void setStock(int stock) {
                this.stock = stock;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }
        }
    }
}
